package com.farent.solutions.plugins.stripes.hyperstripes.core.ajax;

import java.util.ArrayList;
import java.util.List;

public class AjaxResponseChanges {

    private List<AjaxResponseUpdate> update;
    private List<AjaxResponseInsert> inserts;
    private List<AjaxResponseDelete> deletes;

    public List<AjaxResponseUpdate> getUpdates() {
        if (update == null) {
            update = new ArrayList<AjaxResponseUpdate>();
        }
        return this.update;
    }

    public List<AjaxResponseInsert> getInserts() {
        if (inserts == null) {
            inserts = new ArrayList<AjaxResponseInsert>();
        }
        return this.inserts;
    }

    public List<AjaxResponseDelete> getDeletes() {
        if (deletes == null) {
            deletes = new ArrayList<AjaxResponseDelete>();
        }
        return this.deletes;
    }
}
